package com.javasix;

public class Test1 {
    public static void main(String[] args) {
        Demo1 demo1 = new Demo1();
        demo1.start();
        for (int i = 0; i <5 ; i++) {
            if(i==3){
                try {
                    demo1.join();
                   //thread.join(1000,2000);
                }catch (Exception e){
                    e.printStackTrace();
                }
            }
            System.out.println("wwwwwww");
        }
    }
}
